package cn.xshi.sys.service;

import cn.xshi.sys.form.SysNotifyReceiverForm;
import cn.xshi.sys.model.SysNotifyReceiver;

import java.util.List;
import java.util.Map;

/**
 * @Desc 通知接收人
 * @Author 邓纯杰
 * @CreateTime 2012-12-12 12:12:12
 */
public interface SysNotifyReceiverService {

	/**
	 * 初始化分页
	 * @param sysNotifyReceiverForm
	 * @return
	 */
	List<SysNotifyReceiver> getSysNotifyReceiverListByCondition(SysNotifyReceiverForm sysNotifyReceiverForm);

	/**
	 *
	 * @param id
	 * @return
	 */
	SysNotifyReceiver getSysNotifyReceiverById(String id);

	/**
	 *
	 * @param condition
	 * @return
	 */
	int delSysNotifyReceiver(Map<String, Object> condition);
	
	/**
	 * 根据通知编号查找集合
	 * @param notifyId
	 * @return
	 */
	List<SysNotifyReceiver> getSysNotifyReceiverListById(String notifyId);

	/**
	 * 更新已读
	 * @param condition
	 * @return
	 */
	int updateSysNotifyReceiver(Map<String, Object> condition);
}
